package com.jk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Author {

    private Integer aid;

    private String aname;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8") //返回给前台的格式
    @DateTimeFormat(pattern="yyyy-MM-dd")//接收前台的格式
    private Date ardate;

    private String aimage;

    private Integer attention;

    private Integer sentiment;

    private Integer monthattention;

    private Integer  sfguanzhu;

    private  Integer  paixu;

}
